public enum ReceiptVersion extends java.lang.Enum<ReceiptVersion>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLowerThan(ReceiptVersion other) |
static ReceiptVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReceiptVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReceiptVersion LEGACY
public static final ReceiptVersion V1
public static final ReceiptVersion V2
public static final ReceiptVersion V3
public static ReceiptVersion[] values()
for (ReceiptVersion c : ReceiptVersion.values()) System.out.println(c);
public static ReceiptVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isLowerThan(ReceiptVersion other)